package compiler.parser;

import compiler.CompileException;

public class SemanticException extends CompileException {

	private static final long serialVersionUID = 3L;

	public SemanticException(int line, int position, String cause) {
		super(line, position, cause);
	}

	@Override
	public String getMessage() {
		return "["+line+":"+position+"]"+"Semantic Error: "+cause;
	}

}
